xml.instruct! :xml, :version => "1.0"
xml.rss :version => "2.0" do
  xml.channel do
    xml.title "心嘉源公司新闻"
    xml.description "心嘉源公司新闻"
    xml.link "/psysource/home_page/news_center"

    for new in @news
      xml.item do
        xml.title new.title
        xml.description new.content
        xml.pubDate new.created_at.to_s(:rfc822)
        xml.link "/psysource/home_page/news/#{new.id}"
      end
    end
  end
end
